#coding=utf-8
#!/usr/bin/python
from tornado.wsgi import WSGIContainer
from tornado.httpserver import HTTPServer
from tornado.ioloop import IOLoop
from wechat_service_flask import app#这里要和run.py对应

http_server = HTTPServer(WSGIContainer(app))
http_server.listen(9999, address="127.0.0.1")  #flask默认的端口
IOLoop.instance().start()